﻿using System.ComponentModel.DataAnnotations;

namespace Traceability.Domain
{
    /// <summary>
    /// 溯源基本信息
    /// </summary>
    public class BasicTraceabilityModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 商品的ID
        /// </summary>
        public int Sid {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch {  get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife {  get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionNumber {  get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string QiYe { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int Information {  get; set; }
        public string Img {  get; set; }
        public string CreateName { get; set; }
        public DateTime CreateTime { get; set; }
        public string? UpdateName { get; set; }
        public DateTime? UpdateTime { get; set; }
        public int IsDel {  get; set; }
    }
}
